Skip to content

docs: fix TypeScript connection builder examples#5403

Closed
clockwork-labs-bot wants to merge 1 commit into
masterfrom
docs/fix-typescript-connection-builder
Closed

docs: fix TypeScript connection builder examples#5403
clockwork-labs-bot wants to merge 1 commit into
masterfrom
docs/fix-typescript-connection-builder

Conversation

@clockwork-labs-bot

@clockwork-labs-bot clockwork-labs-bot commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Correct TypeScript connection examples to call DbConnection.builder() without new
  • Add missing .build() calls so the snippets construct a connection like the SDK, templates, and TypeScript client skill

Validation

  • pnpm build from docs/ (passes; existing llms-txt Ask AI route warning emitted)

@clockwork-labs-bot

Copy link
Copy Markdown
Contributor Author

Closed in favor of the consolidated daily docs audit PR #5410 on branch bot/docs-audit.

pull Bot pushed a commit to age-rs/SpacetimeDB that referenced this pull request Jun 22, 2026
# Description of Changes

- Fix TypeScript connection examples to call `DbConnection.builder()`
without `new` and include `.build()`.
- Document reducer context random APIs across TypeScript, C#, Rust, and
C++.
- Align reducer skill determinism guidance with the documented
context-provided RNG API.
- Consolidates the work from clockworklabs#5403 and clockworklabs#5306 into the single daily docs
audit branch `bot/docs-audit`.

# API and ABI breaking changes

None. Documentation and agent skill guidance only.

# Expected complexity level and risk

1. This is a low-risk docs-only change plus one agent skill wording
update.

# Testing

- [x] `pnpm --dir docs build` passed. Docusaurus emitted the existing
`docusaurus-plugin-llms-txt` warning for `/docs/ask-ai/ask-ai`, then
generated static files successfully.
- [ ] Reviewer can check that the TypeScript connection snippets match
the SDK builder API.
- [ ] Reviewer can check that the reducer context RNG examples match the
supported APIs for each SDK.

---------

Co-authored-by: rain <rain@rain.local>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant